import axios from "@/utils/axios";

export function getRooms() {
  return axios.get("/api/rooms");
}

export function createRoom(data) {
  return axios.post("/api/rooms", data);
}

export function deleteRoom(roomId) {
  return axios.delete(`/api/rooms/${roomId}`);
}
